package com.ykt.common.thirdapi.polyv.model;

/**
 * 保利威视视频对象
 *
 * @author long.hua
 * @version 1.0.0
 * @since 2016-05-26 22:43
 */
public class PolyvVideo {

    private String swf_link;    // Flash链接地址
    private String source_filesize;    // 返回flash连接
    private String md5checksum;    // 上传到POLYV云平台的视频源文件的MD5值，可以用来校验是否上传错误或完整
    private String status;    // 视频状态 60/61 已发布 10 等待编码, 20 正在编码, 50 等待审核, 51 审核不通过, -1 已删除
    private String mp4;
    private String mp4_1; // 流畅码率mp4格式视频地址
    private String mp4_2; // 高清码率mp4格式视频地址
    private String mp4_3; // 超清码率mp4格式视频地址
    private String hls; // hls格式视频地址
    private String filesize;
    private Integer seed;    // 加密视频为1，非加密为0
    private String original_definition;    // 返回flash连接
    private String playerheight;    // 视频高度
    private String cataid;    // 返回flash连接
    private Integer df;    // 视频码率数
    private Integer playerwidth;    // 视频宽度
    private String duration;    // 视频时长
    private String title;    // 标题
    private String first_image;    // 视频图片
    private String times;    // 点击次数
    private String tag;    //标签
    private String context;    //视频描述
    private String ptime;    //上传时间
    private String vid;    //视频id

    public String getSwf_link() {
        return swf_link;
    }

    public void setSwf_link(String swf_link) {
        this.swf_link = swf_link;
    }

    public String getSource_filesize() {
        return source_filesize;
    }

    public void setSource_filesize(String source_filesize) {
        this.source_filesize = source_filesize;
    }

    public String getMd5checksum() {
        return md5checksum;
    }

    public void setMd5checksum(String md5checksum) {
        this.md5checksum = md5checksum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMp4() {
        return mp4;
    }

    public void setMp4(String mp4) {
        this.mp4 = mp4;
    }

    public String getMp4_1() {
        return mp4_1;
    }

    public void setMp4_1(String mp4_1) {
        this.mp4_1 = mp4_1;
    }

    public String getMp4_2() {
        return mp4_2;
    }

    public void setMp4_2(String mp4_2) {
        this.mp4_2 = mp4_2;
    }

    public String getMp4_3() {
        return mp4_3;
    }

    public void setMp4_3(String mp4_3) {
        this.mp4_3 = mp4_3;
    }

    public String getHls() {
        return hls;
    }

    public void setHls(String hls) {
        this.hls = hls;
    }

    public String getFilesize() {
        return filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize;
    }

    public Integer getSeed() {
        return seed;
    }

    public void setSeed(Integer seed) {
        this.seed = seed;
    }

    public String getOriginal_definition() {
        return original_definition;
    }

    public void setOriginal_definition(String original_definition) {
        this.original_definition = original_definition;
    }

    public String getPlayerheight() {
        return playerheight;
    }

    public void setPlayerheight(String playerheight) {
        this.playerheight = playerheight;
    }

    public String getCataid() {
        return cataid;
    }

    public void setCataid(String cataid) {
        this.cataid = cataid;
    }

    public Integer getDf() {
        return df;
    }

    public void setDf(Integer df) {
        this.df = df;
    }

    public Integer getPlayerwidth() {
        return playerwidth;
    }

    public void setPlayerwidth(Integer playerwidth) {
        this.playerwidth = playerwidth;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFirst_image() {
        return first_image;
    }

    public void setFirst_image(String first_image) {
        this.first_image = first_image;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getPtime() {
        return ptime;
    }

    public void setPtime(String ptime) {
        this.ptime = ptime;
    }

    public String getVid() {
        return vid;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PolyvVideo{");
        sb.append("swf_link='").append(swf_link).append('\'');
        sb.append(", source_filesize='").append(source_filesize).append('\'');
        sb.append(", md5checksum='").append(md5checksum).append('\'');
        sb.append(", status='").append(status).append('\'');
        sb.append(", mp4='").append(mp4).append('\'');
        sb.append(", mp4_1='").append(mp4_1).append('\'');
        sb.append(", mp4_2='").append(mp4_2).append('\'');
        sb.append(", mp4_3='").append(mp4_3).append('\'');
        sb.append(", hls='").append(hls).append('\'');
        sb.append(", filesize='").append(filesize).append('\'');
        sb.append(", seed=").append(seed);
        sb.append(", original_definition='").append(original_definition).append('\'');
        sb.append(", playerheight='").append(playerheight).append('\'');
        sb.append(", cataid='").append(cataid).append('\'');
        sb.append(", df=").append(df);
        sb.append(", playerwidth=").append(playerwidth);
        sb.append(", duration='").append(duration).append('\'');
        sb.append(", title='").append(title).append('\'');
        sb.append(", first_image='").append(first_image).append('\'');
        sb.append(", times='").append(times).append('\'');
        sb.append(", tag='").append(tag).append('\'');
        sb.append(", context='").append(context).append('\'');
        sb.append(", ptime='").append(ptime).append('\'');
        sb.append(", vid='").append(vid).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
